package cn.itcast.nems.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author liyong
 * create: 2023-11-23 10:51:17
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderModeDiscountDTO {

    /**
     * 优惠ID
     */
    private String discountId;

    /**
     * 优惠金额。单位：分
     */
    private Integer discountAmount;

    /**
     * 排序号
     */
    private Byte sort;
    /**
     * 优惠范围类型；枚举值：一般｜NORMAL、个人｜PERSONAL
     */
    private String discountScopeType;
    /**
     * 优惠凭单行ID；只有字段''discount_scope_type''为''PERSONAL''时才赋值。
     */
    private String journalDiscountLineId;
}
